import 'package:flutter/material.dart';

import '../app_theme.dart';

class TimeComponent extends StatefulWidget {
  const TimeComponent({super.key});

  @override
  State<TimeComponent> createState() => _TimeComponentState();
}

class _TimeComponentState extends State<TimeComponent> {
  @override
  Widget build(BuildContext context) {
    return Row(
      mainAxisAlignment: MainAxisAlignment.start,
      crossAxisAlignment:
      CrossAxisAlignment.center,
      children: <Widget>[
        Padding(
          padding: const EdgeInsets.only(right: 4),
          child: Icon(
            Icons.access_time,
            color: AppTheme.dark_grey
                .withOpacity(0.5),
            size: 16,
          ),
        ),
        Padding(
          padding:
          const EdgeInsets.only(left: 4.0),
          child: Text(
            '2024/3/11 08:20:23',
            textAlign: TextAlign.center,
            style: TextStyle(
              fontFamily:
              AppTheme.fontName,
              fontWeight: FontWeight.w500,
              fontSize: 14,
              letterSpacing: 0.0,
              color: AppTheme.dark_grey
                  .withOpacity(0.5),
            ),
          ),
        ),
      ],
    );
  }
}
